package routers

import (
	"app/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/getInfoList", &controllers.MainController{}, "*:GetInfoList")

	beego.Router("/crawler", &controllers.CrawlerController{})
}
